package com.bxait.toymail.order.feign;

import com.bxait.toymail.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/*
@description:
@ClassName MemberFeignService
@author Chen
@create 2023-05-13 16:10
@Version 1.0
*/
@FeignClient("toymail-member")
public interface MemberFeignService {
    /*
     * @param memberId
     * @==============History===============<br/>
     * @Description //   获取用户地址列表
     * @Date 2023/5/13 2023/5/13 
     * @Author < a href="2277411582@qq.com">chen</ a>
     * @return java.util.List<com.bxait.toymail.order.vo.MemberAddressVo>
     */
    @GetMapping("/member/memberreceiveaddress/{memeberId}/addresses")
    List<MemberAddressVo> getAddress(@PathVariable("memeberId") Long memberId);
}
